<?php defined('LFNC_PACKAGE') or die('forbidden');


/**
* MLT Web Engine
* http://www.molotsoft.ru
*
* @package MLT_WE
* @subpackage Lucky_Funcs
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: intval_deep.lfnc.php 296 2009-08-02 04:32:09Z molotsoft@gmail.com $
* @link $HeadURL: http://lucky-funcs.googlecode.com/svn/trunk/funcs/variable/intval_deep.lfnc.php $
*/


function intval_deep($var, $base = 10) {
	return is_array($var) ? array_map('intval_deep', $var, array_fill_values($var, $base)) : intval($var, $base);
}


?>